package com.techhighteam675.robot2012;

/**
 *
 * @author Noah Dove
 */
class AutonomousDrive implements DriveType {
    private double leftSpeed, rightSpeed;
    private boolean pickup;

    public AutonomousDrive() {
        leftSpeed = 0.0;
        rightSpeed = 0.0;
        pickup = false;
    }
	
    public void set(float _left, float _right, boolean _pickup) {
        leftSpeed = _left;
        rightSpeed = _right;
        pickup = _pickup;
    }

    public boolean isPIDControl() {
        return false;
    }

    public double getLeftSpeed() {
        return leftSpeed;
    }

    public double getRightSpeed() {
        return rightSpeed;
    }

    public int getShiftSetting() {
        return DriveType.SHIFT_LOW;
    }

    public boolean isPickup() {
        return pickup;
    }

    public int getRampArm() {
        return 0;
    }
};

